<?php

namespace ProjetA\GroupeBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use ProjetA\GroupeBundle\Controller\GroupeController as groupe;

class GroupeEtapeType extends AbstractType {

    public function buildForm(FormBuilder $builder, array $options) {
        $builder
                ->add('page', 'entity', array('class' => 'ProjetAGroupeBundle:Page',
                    'multiple' => false,
                    'property' => 'name'));
    }

    public function getName() {
        return 'projeta_groupebundle_groupeetapetype';
    }

}
